/* ============================ */
/* CSS for control sap.m/Title  */
/* Base theme                   */
/* ============================ */

.sapMTitle {
	position: relative;
	display: inline-block;
	margin: 0;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
	-webkit-margin-start: 0;
	-webkit-margin-end: 0;
	font-weight: @sapUiFontHeaderWeight;
	color: @sapUiGroupTitleTextColor;
	font-family: @sapUiFontHeaderFamily;
	box-sizing: border-box;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	cursor: text;
	text-shadow: @sapUiShadowText;
}

.sapMTitleMaxWidth {
	max-width: 100%;
}


/* Alignments */

.sapMTitleAlignBegin {
	text-align: left;
	text-align: start;
}

html[dir=rtl][data-sap-ui-browser^="ie"] .sapMTitleAlignBegin,
html[dir=rtl][data-sap-ui-browser^="ed"] .sapMTitleAlignBegin {
	text-align: right;
}

.sapMTitleAlignLeft {
	text-align: left;
}

.sapMTitleAlignEnd {
	text-align: right;
	text-align: end;
}

html[dir=rtl][data-sap-ui-browser^="ie"] .sapMTitleAlignEnd,
html[dir=rtl][data-sap-ui-browser^="ed"] .sapMTitleAlignEnd {
	text-align: left;
}

.sapMTitleAlignRight {
	text-align: right;
}

.sapMTitleAlignCenter {
	text-align: center;
}


/* Level Styling */

/* Level Auto*/

.sapMTitleStyleAuto {
	font-size: @sapMFontHeader5Size;
}

.sapMTB-Transparent-CTX > .sapMTitleTB.sapMTitleStyleAuto {
	font-size: @sapMFontHeader4Size;
}

.sapMTB-Info-CTX > .sapMTitle {
	font-size: @sapMFontHeader6Size;
	font-style: italic;
	text-shadow: none;
	color: @sapUiContentContrastTextColor;
}

/* Level H1 */

.sapMTitleStyleH1 {
	font-size: @sapMFontHeader1Size;
}

/* Level H2 */

.sapMTitleStyleH2 {
	font-size: @sapMFontHeader2Size;
}

/* Level H3 */

.sapMTitleStyleH3 {
	font-size: @sapMFontHeader3Size;
}

/* Level H4 */

.sapMTitleStyleH4 {
	font-size: @sapMFontHeader4Size;
}

/* Level H5 */

.sapMTitleStyleH5 {
	font-size: @sapMFontHeader5Size;
}

/* Level H6 */

.sapMTitleStyleH6 {
	font-size: @sapMFontHeader6Size;
}

.sapMIBar-CTX .sapMTitle {
	color: @sapUiPageHeaderTextColor;
	text-shadow: @sapUiShadowText;
}

.sapMTB-Transparent-CTX .sapMTitle {
	text-shadow: none;
}

.sapMIBar-CTX.sapMFooter-CTX .sapMTitle {
	color: @sapUiPageFooterTextColor;
	text-shadow: @sapUiShadowText;
}